package com.ceres.oauth.service;

import com.ceres.login.pojo.User;
import com.ceres.oauth.util.AuthToken;

import java.util.Date;
import java.util.List;

public interface AuthUserService {

    AuthToken login(String username, String password, String clientId, String clientSecret);
    User findByUsername(String username);
    void editUserStatus(String username);
    List<Integer> findRoleByUsername(String username);
    Date findDateByusername(String username);
}
